home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _DD169C2DD7AC425381060FD731BA6B88 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.0 KB  |  90 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_plastic_nd"] = {
  3. -------------------------------------
  4.     PhysicsSounds=PhysicsSoundsTable.Hard,
  5. -------------------------------------    
  6.     bullet_drop_single = CommonEffects.common_bullet_drop_single_ashphalt,
  7.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_ashphalt,
  8. -------------------------------------    
  9.     bullet_hit = {
  10.         sounds = {
  11.             --{"Sounds/Weapons/MP5/Ric1.wav"},
  12.             --{"Sounds/Weapons/MP5/Ric2.wav"},
  13.             --{"Sounds/Weapons/MP5/Ric3.wav"},
  14.         },
  15.         
  16.         particles = {
  17.             { --HitSmoke 
  18.                 focus = 1.5,
  19.                 color = {0.29,0.19,0.0},
  20.                 speed = 0.75,
  21.                 count = 4, --default 2
  22.                 size = 0.05, 
  23.                 size_speed=0.15,
  24.                 gravity=-1,
  25.                 lifetime=0.5,
  26.                 tid = System:LoadTexture("textures\\cloud.jpg"),
  27.                 frames=0,
  28.                 color_based_blending = 3
  29.             },
  30.         },
  31.     },
  32.  
  33.     projectile_hit = CommonEffects.common_projectile_hit,
  34.     mortar_hit = CommonEffects.common_mortar_hit,
  35.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  36.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  37.     grenade_hit = CommonEffects.common_grenade_hit,
  38.     melee_slash = {
  39.         sounds = {
  40.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,185,5,30},
  41.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,185,5,30},
  42.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,185,5,30},
  43.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,185,5,30},
  44.         },
  45.     },
  46. -------------------------------------
  47.     player_walk = {
  48.         sounds = {
  49.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  50.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  51.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  52.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  53.         },
  54.     },
  55.     player_run = {
  56.         sounds = {
  57.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  58.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  59.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  60.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  61.         },
  62.     },
  63.     player_crouch = {
  64.         sounds = {
  65.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  66.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  67.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  68.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  69.         },
  70.     },
  71.     player_prone = {
  72.         sounds = {
  73.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  74.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  75.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  76.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  77.         },
  78.     },
  79.     player_walk_inwater = CommonEffects.player_walk_inwater,
  80.     gameplay_physic = {
  81.         piercing_resistence = 15,
  82.         friction = 0.6,
  83.         bouncyness= 0.2, --default 0
  84.     },
  85.  
  86.     AI = {
  87.         fImpactRadius = 5,
  88.     },
  89.             
  90. }